// JavaScript Document
function checkForm(formName)
{
	//NAME VALIDATION
	if(formName.name.value=="")
	{
		alert ('Please Enter Your Full Name!');
		formName.name.focus();
		return false;
	}
	
	

	//EMAIL VALIDATION
	if(formName.email.value=="")
	{
		alert ('Please Enter Your Email!');
		formName.email.focus();
		return false;
	}
	//EMAIL FORMAT VALIDATON
	if (!formName.email.value.match(/^[\w\.-]+@(?:[A-Za-z0-9-]+\.)*[A-Za-z0-9-]{1,}\.[a-z]{2,9}$/))
	{
		alert ('Please Enter a Valid Email!');
		formName.email.select();
		return false;
	}
		    
	return true;
	
}

